package com.yx.china.service.impl;

import com.yx.china.project.entities.Payment;
import com.yx.china.project.entities.ResponseResult;
import com.yx.china.service.PayService;
import org.springframework.stereotype.Component;

@Component
public class PaySeviceException implements PayService {
    @Override
    public ResponseResult<Payment> paymentSQL(Integer id) {
        return new ResponseResult(444,"服务降级返回，------------PaymentFallbackService",id);
    }
}
